package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.entity.TravelDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelDetailsMapper {

    void insertTravelDetails(TravelDetails travelDetails);

    void updateTravelDetails(TravelDetails travelDetails);

    TravelDetails selectTravelDetailsById(String id);

    void deleteTravelDetailsById(String id);

    void deleteByTravelManagementId(@Param("travelManagementId") String travelManagementId);

    List<TravelDetails> selectByTravelManagementId(@Param("travelManagementId") String travelManagementId);

}
